package com.ftg.learn.chapter14.acccess;

/**
 * @author KangJx
 * @date 2021/7/23
 */
public class SamePacage {

    public void same(){
        Human h1 = new Human();
        //同包除了私有都可以访问
        h1.publicMethod();
        h1.protectedMethod();
        h1.defaultMethod();
    }

}
